<?php
declare(strict_types = 1);

use Hyperf\HttpServer\Router\Router;

Router::addGroup('/auth',function (){
    Router::addGroup('/user',function (){
        Router::post('/login',[\App\Controller\Auth\Member\LoginController::class,'login']);
        Router::post('/logout',[\App\Controller\Auth\Member\LoginController::class,'logout']);
    });
});

Router::addGroup('/user',function (){
    Router::get('/info',[\App\Controller\Auth\Member\LoginController::class,'login']);
});